package com.kgis.fm.flex.model.metadata
{
	import com.kgis.fm.flex.model.LifecycleModel;

	/**
	 * 
	 * @author Simon He
	 * 
	 */
	[Bindable]
	[RemoteClass(alias="com.kgis.fm.platform.model.metadata.Component")]
	public class Component extends LifecycleModel
	{
		public function Component()
		{
		}
		private var _cno:int;
		private var _name:String;
		private var _tableName:String;
		private var _type:int;
		private var _tilePath:String;
		private var _bdetail:Boolean;
		private var _bltt:Boolean;
		
		/**
		 * 组件类型
		 */
		public function get type():int
		{
			return _type;
		}

		/**
		 * @private
		 */
		public function set type(value:int):void
		{
			_type = value;
		}

		/**
		 * 组件对应的表名
		 */
		public function get tableName():String
		{
			return _tableName;
		}

		/**
		 * @private
		 */
		public function set tableName(value:String):void
		{
			_tableName = value;
		}

		/**
		 * 组件名称
		 */
		public function get name():String
		{
			return _name;
		}

		/**
		 * @private
		 */
		public function set name(value:String):void
		{
			_name = value;
		}

		/**
		 * 组件号
		 */
		public function get cno():int
		{
			return _cno;
		}

		/**
		 * @private
		 */
		public function set cno(value:int):void
		{
			_cno = value;
		}

		/**
		 * 瓦片路径
		 */
		public function get tilePath():String
		{
			return _tilePath;
		}

		/**
		 * @private
		 */
		public function set tilePath(value:String):void
		{
			_tilePath = value;
		}

		public function get bltt():Boolean
		{
			return _bltt;
		}

		public function set bltt(value:Boolean):void
		{
			_bltt = value;
		}

		public function get bdetail():Boolean
		{
			return _bdetail;
		}

		public function set bdetail(value:Boolean):void
		{
			_bdetail = value;
		}
	}
}